package com.smz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smz.dao.TDpDAO;
import com.smz.entity.TDp;
import com.smz.service.TDpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TDpServiceImpl extends ServiceImpl<TDpDAO, TDp> implements TDpService {
    @Autowired
    private TDpDAO tDpDAO;


    @Override
    public List<TDp> findAllTDpById(Integer id) {
        return tDpDAO.selectAllTDpById(id);
    }

    @Override
    public TDp findTdpById(Integer id) {
        return tDpDAO.selectTdpById(id);
    }
}
